<?php
class Mageex_RelatedProduct_Controller_Router extends Mage_Core_Controller_Varien_Router_Abstract
{
	public function initControllerRouters($observer)
	{
		$front = $observer->getEvent()->getFront();
		$front->addRouter('relatedproduct', $this);
	}
	public function match(Zend_Controller_Request_Http $request) 
	{
		if(!Mage::isInstalled()) {
            Mage::app()->getFrontController()->getResponse()
                ->setRedirect(Mage::getUrl('install'))
                ->sendResponse();
            exit;
        }
		
		//End router for rewrite rss
        return false;
	}

	
}